<?php

/**
 * @author Martin Pernica
 * @copyright 2009
 */
$query = Registry::get('db')->query("SELECT username, birthday, email, gender FROM {prefix}users ORDER BY created DESC LIMIT 10");
while($data = $query->fetch_array()){
	echo '<tr>';
	echo '<td>'.$data['username'].'</td>';
	echo '<td>'.$data['birthday'].'</td>';
	echo '<td>'.$data['email'].'</td>';
	echo '<td>'.$data['gender'].'</td>';
	echo '</tr>';
}

?>